<%-- 
    Document   : invoice
    Created on : Apr 1, 2011, 11:28:01 PM
    Author     : Nguyen Hung
--%>

<%@page import="Business.Customer"%>
<%@page import="Business.Order"%>
<%@page import="Business.Cart"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            Cart cart = (Cart)session.getAttribute("cart");
            Customer customer = (Customer) request.getAttribute("customer");
            String note = (String) request.getAttribute("note");
            //Order order = new Order(customer, note);
            order.addAll(cart.getItems());

        %>
        <h1>Hóa Đơn</h1>
        <div>
            Họ tên khách hàng:<%=customer.getName()%><br>
            Địa Chỉ: <%=%>
            
        </div>

    </body>
</html>
